package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.WxMsgDao;
import com.bootdo.system.domain.WxMsgDO;
import com.bootdo.system.service.WxMsgService;



@Service(value="wxMsgService")
public class WxMsgServiceImpl implements WxMsgService {
	@Autowired
	private WxMsgDao wxMsgDao;
	
	@Override
	public WxMsgDO get(Long id){
		return wxMsgDao.get(id);
	}
	
	@Override
	public List<WxMsgDO> list(Map<String, Object> map){
		return wxMsgDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return wxMsgDao.count(map);
	}
	
	@Override
	public int save(WxMsgDO wxMsg){
		return wxMsgDao.save(wxMsg);
	}
	
	@Override
	public int update(WxMsgDO wxMsg){
		return wxMsgDao.update(wxMsg);
	}
	
	@Override
	public int remove(Long id){
		return wxMsgDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return wxMsgDao.batchRemove(ids);
	}
	
}
